package com.wnnight.wys.mapper.repairs;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wnnight.wys.entity.repairs.RepairsPlace;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author rzh6230
 * 2022/8/27 18:48
 */
public interface RepairsPlaceMapper extends BaseMapper<RepairsPlace> {
    @Select("select * from wys_repairs_place wrp,wys_property_area wpa where wpa.place_id=wrp.id and staff_id=#{staffId}")
    List<RepairsPlace> selectByStaffId(int staffId);
}
